// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.ast.statement.SQLSelect_ptr;
// import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlStatementImpl;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

// import java.util.ArrayList;
// import java.util.List;
#pragma once
#include "../statement/MySqlStatementImpl.h"

class MySqlSelectIntoStatement : virtual public MySqlStatementImpl
{
public:
  // select statement
  SQLSelect_ptr select;
  // var list
  SQLExpr_list_ptr varList;

  MySqlSelectIntoStatement();
  SHAREDOBJECT(MySqlSelectIntoStatement);
  SQLSelect_ptr getSelect();

  void setSelect(SQLSelect_ptr select);

  SQLExpr_list_ptr getVarList();

  void setVarList(SQLExpr_list_ptr varList);

  // @Override
  void accept0(MySqlASTVisitor_ptr visitor);

  virtual string_ptr getClass() { return make_string_ptr("MySqlSelectIntoStatement"); }
};
